package com.qianfeng.client_7001;

import com.codingapi.txlcn.tc.config.EnableDistributedTransaction;
import com.qianfeng.client_7001.client.SendClient;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.stream.annotation.EnableBinding;

@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients
@EnableCircuitBreaker
@EnableHystrixDashboard
@ServletComponentScan("com.qianfeng.client_7001.servlet")
@EnableBinding(SendClient.class)
@EnableDistributedTransaction
public class Client7001Application {

    public static void main(String[] args) {
        SpringApplication.run(Client7001Application.class, args);
    }

}
